from core.models import *
from django.shortcuts import render_to_response


def index(request):
    polls = Poll.objects.all()
    return render_to_response('polls/index.html',{'title':'Hello, World', 'polls':polls})
